package com.ifast.common.utils;


import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * Created by Administrator on 2017/7/10 0010.
 */
public class TaskMyRejected implements RejectedExecutionHandler {

    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
        GjpLogger.error("数据线程过多,导致数据失败!");
    }

}
